<template>
  <div class="w">
    <div class="header curpoit">
      <p @click="gobase">基本资料</p>
      <p class="linetobottom" @click="gonewpass">修改密码</p>
       <p  @click=" gonew">快捷登陆</p>
     
    </div>

    <el-form :model="form" label-width="120px" :inline="true" label-position="right">
      <el-row>
        <el-col :span="12" :offset="6">
          <el-form-item label="输入原始密码">
            <el-input placeholder="输入原始密码" v-model="form.Pnumber"></el-input>
          </el-form-item>
        </el-col>
          <el-col :span="12" :offset="6">
          <el-form-item label="输入新密码">
            <el-input placeholder="输入新密码" v-model="form.Pnumber1"></el-input>
          </el-form-item>
        </el-col>
          <el-col :span="12" :offset="6">
          <el-form-item label="再次输入新密码">
            <el-input placeholder="再次输入新密码" v-model="form.Pnumber2"></el-input>
          </el-form-item>
        </el-col>
          <el-col :span="10" :offset="6" style="text-align:center">
          <el-form-item >
               <el-button type="primary">确定</el-button>
          </el-form-item>
        </el-col>
      
      </el-row>
    </el-form>
  </div>
</template>

<script>
export default {
  data() {
    return {
      form: {
        Pnumber: "",
        username: "",
        name: "",
        sex: "",
        province: "",
        city: "",
        county: "",
        phoneNumber: "",
        email: "",
        qqnumber: "",
        wechat: "",
        password: ""
      }
    };
  },
  methods: {
    onSubmit() {
      console.log("submit!");
    },
      gobase(){
        this.$router.push({path:"/Account/Mydata"})
    },
    gonewpass(){
        this.$router.push({path:"/Account/removepath"})
    },
     gonew(){
      this.$router.push({path:"/Account/Log2"})
    }
  }
};
</script>

<style scoped>
.basic-data {
  padding: 0 30px 20px 50px;
  background-color: #fff;
  margin-left: 15px;
}
</style>
